package springtest.pojo;

import java.io.Serializable;
import java.util.Date;

import org.apache.solr.client.solrj.beans.Field;

public class Device implements Serializable {

	@Field("id_device")
	private String _id;
	@Field("uuid")
	private String uuid;
	@Field("configType_device")
	private String configType;
	@Field("collectType_device")
	private String collectType;
	@Field("primaryId_device")
	private String primaryId;
	@Field("name_device")
	private String name;
	@Field("createdTime_device")
	private Date createdTime;
	@Field("lastModifiedTime_device")
	private Date lastModifiedTime;

	public String get_id() {
		return _id;
	}

	public void set_id(String _id) {
		this._id = _id;
	}

	public String getUuid() {
		return uuid;
	}

	public void setUuid(String uuid) {
		this.uuid = uuid;
	}

	public String getConfigType() {
		return configType;
	}

	public void setConfigType(String configType) {
		this.configType = configType;
	}

	public String getCollectType() {
		return collectType;
	}

	public void setCollectType(String collectType) {
		this.collectType = collectType;
	}

	public String getPrimaryId() {
		return primaryId;
	}

	public void setPrimaryId(String primaryId) {
		this.primaryId = primaryId;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Date getCreatedTime() {
		return createdTime;
	}

	public void setCreatedTime(Date createdTime) {
		this.createdTime = createdTime;
	}

	public Date getLastModifiedTime() {
		return lastModifiedTime;
	}

	public void setLastModifiedTime(Date lastModifiedTime) {
		this.lastModifiedTime = lastModifiedTime;
	}

	@Override
	public String toString() {
		return "Device [_id=" + _id + ", uuid=" + uuid + ", configType=" + configType + ", collectType=" + collectType
				+ ", primaryId=" + primaryId + ", name=" + name + ", createdTime=" + createdTime + ", lastModifiedTime="
				+ lastModifiedTime + "]";
	}

}
